/* MoneyWorth.cpp
 * Author: mtreece 
 * Date Started: 02/09/2010
 * Purpose:
 *  Encapsulate the idea of the
 *  worth of something...
 * 
 *  Currently this will combine
 *  the "physical" worth of a
 *  Lottery ticket with the possibility
 *  of striking a JackPot...
 * 
 *  Thus, this will mostly be thought of
 *  as nothing more than a wrapper
 *  for an unsigned integer worth.
 *  (existing for the possibility of 
 *   floating point values later on...)
 */

#include "MoneyWorth.h"

MoneyWorth::MoneyWorth(int w, int jackpot){
	worth = w;
	isJackpot = jackpot;
}

unsigned int MoneyWorth::value(void){
	return worth;
}

int MoneyWorth::jackpot(void){
	return isJackpot;
}

void MoneyWorth::setValue(int v){
	worth = v;
}
